package com.security.door.service;

import com.github.pagehelper.PageInfo;
import com.security.door.core.support.IService;
import com.security.door.model.domain.devDeviceinfo;
import com.security.door.model.dto.devDeviceinfoDto;
import com.security.door.model.vo.deviceInfoVo;
import com.security.door.model.vo.treeViewVo;
import java.util.List;

public interface IdevDeviceinfoService extends IService<devDeviceinfo> {

    PageInfo<deviceInfoVo> queryListWithPage(devDeviceinfoDto entity);

    List<treeViewVo> selectAllTree();

    boolean hasExists(String deviceCode);

    Integer deleteByCode(String deviceCode);

    devDeviceinfo selectByCode(String deviceCode);

    List<devDeviceinfo> selectTreeByAreaCode(String areaCode);
}
